export const block: ICustomBlockOption = {
    name: "OreoSampler2D",
    comments: "自定义实现贴图混合节点",
    document: "https://www.exporter.top/docs/#/zh-cn/block/custom",
    target: "Neutral",
    inParameters: [
        {
            name: "uv",
            type: "Vector2"
        },
        {
            name: "source1",
            type: "Object"
        },
        {
            name: "source2",
            type: "Object"
        }
    ],
    outParameters: [
        {
            name: "output",
            type: "Vector4"
        }
    ],
    entryFunctionName: "OreoSampler2D",
    code: `
        void OreoSampler2D(vec2 l, sampler2D tex1, sampler2D tex2, out vec4 result) {
			result = texture2D(tex1, l) * texture2D(tex2, l);
        }
    `
}